import modelAbstract from "./modelAbstract";
import { images } from "../service/image";
import straw from "../canvas/straw";
// 草地模型子类
export default class strawModel extends modelAbstract implements IModel{
  public ctx: ICanvas = straw;
  name: string = 'straw';
  render():void {
    super.draw();
  };
  image() {
    return <HTMLImageElement>images.get("straw");
  }
};